import request from "@/utils/request";

/**
 * 轮播图新增
 */
export function addBanner(data) {
  return request({
    url: "/admin/banner/add",
    method: "POST",
    data,
  });
}

/**
 * 轮播图列表
 */
export function getBannerList() {
  return request({
    url: "/admin/banner/list",
    method: "GET",
  });
}
